import request from '@/utils/request'

export function problemList(query) {
  return request({
    url: '/api/problem_list/read',
    method: 'get',
    params: query
  })
}

export function updateProblem(query) {
    return request({
      url: '/api/problem_list/update',
      method: 'post',
      data: query
    })
  }